//
//  Bundle+Extensions.swift
//  迷你微博。反射
//
//  Created by Json on 2020/2/2.
//  Copyright © 2020 Json. All rights reserved.
//

import Foundation

extension Bundle {
    //计算型属性类似于函数，没有参数，又返回值
    var namespace:String{
        return infoDictionary?["CFBundleName"] as? String ?? ""
    }
}
